import Vue from 'vue'
import Vuex, { Store } from 'vuex'

Vue.use(Vuex);

export default new Store({
    state:{
        isLogin:false,
        uploads:'http://172.16.128.11/web/public/uploads/',
        badge:{
            'icons':[
                require('../assets/img/nav1.png'),
                require('../assets/img/nav2.png'),
                require('../assets/img/nav3.png'),
                require('../assets/img/nav4.png'),
                require('../assets/img/nav5.png'),
                require('../assets/img/nav6.png'),
                require('../assets/img/nav7.png'),
                require('../assets/img/nav8.png')
            ],
            'titles':['团队帮扶','创业加盟','FOC中心','购物中心','女装馆','美妆馆','男装馆','更多'],
        }
    },
    mutations:{
        updateLogin(state,payload){
            state.isLogin=payload
        }
    }
})